
#pragma once
typedef enum E_DEVICESTATE
{
	DEVICE_STATE_EXT_IDLE = 0,
	DEVICE_STATE_TRUNK_IDLE = 1,
	DEVICE_STATE_RINGING = 2,
	DEVICE_STATE_CONNECTED = 3,
	DEVICE_STATE_PLAYVOICE = 4,
	DEVICE_STATE_WAITDIALTONE = 5,
	DEVICE_STATE_DIALING = 6,
	DEVICE_STATE_WAITANSWER = 7,
	DEVICE_STATE_PENDING = 8,
	DEVICE_STATE_WAITRINGBACKTONE =9
}EDeviceState;